UserAgentMetadata

data class UserAgentMetadata(brands: List<UserAgentBrandVersion>?, fullVersion: String?, platform: String, platformVersion: String, architecture: String, model: String, mobile: Boolean)

Used to specify User Agent Cient Hints to emulate. See https://wicg.github.io/ua-client-hints Missing optional values will be filled in by the target with what it would normally use.

Constructors

UserAgentMetadata
Link copied to clipboard
fun UserAgentMetadata(brands: List<UserAgentBrandVersion>? = null, fullVersion: String? = null, platform: String, platformVersion: String, architecture: String, model: String, mobile: Boolean)

Properties

architecture
Link copied to clipboard
val architecture: String
brands
Link copied to clipboard
val brands: List<UserAgentBrandVersion>? = null
fullVersion
Link copied to clipboard
val fullVersion: String? = null
mobile
Link copied to clipboard
val mobile: Boolean
model
Link copied to clipboard
val model: String
platform
Link copied to clipboard
val platform: String
platformVersion
Link copied to clipboard
val platformVersion: String

Sources

jvm source
Link copied to clipboard